]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
[ShellWindowTracker] Create fallback apps again
authorColin Walters <walters@verbum.org>
Fri, 23 Oct 2009 16:26:05 +0000 (12:26 -0400)
committerColin Walters <walters@verbum.org>
Fri, 23 Oct 2009 16:26:05 +0000 (12:26 -0400)
Creating window-based apps got lost in the code refactoring.

src/shell-window-tracker.c

index b0174d08a9f31e5b682b25795a7677bfb2706deb..57226b7d53f15944a7362c59d898802baa73346c 100644 (file)
@@ -319,6 +319,11 @@ get_app_for_window_direct (MetaWindow  *window)
         app = shell_app_system_get_app (appsys, id);
     }
 
+  if (app == NULL)
+    {
+      app = _shell_app_new_for_window (window);
+    }
+
   return app;
 }